import { postRequest,postJsonRequest} from '@/api/axios'

export const page = (params) => {
    return postRequest('sys/lesson/page', params)
}
export const page1 = (params) => {
    return postRequest('sys/lesson/page1', params)
}
export const page2 = (params) => {
    return postRequest('sys/lesson/page2', params)
}
export const add = (params) => {
    return postJsonRequest('sys/lesson/save', params)
}

export const updateUseful = (params) => {
    return postRequest('sys/lesson/updateUseful', params)
}

export const deletes = (params) => {
    return postRequest('sys/lesson/delete', params)
}